home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Leser 15
/
Amiga Plus Leser CD 15.iso
/
Tools
/
Development
/
mmu
/
Mu680x0Libs
/
Include
/
libraries
/
68060.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-03-12
|
2KB
|
49 lines
/*************************************************************************
** 68060.library **
** **
** CPU driver library for the 68060 **
** **
** © 2001 THOR-Software, Thomas Richter **
** No commercial use, reassembly, modification without prior, written **
** permission of the authors. **
** Including this library in any commercial software REQUIRES a **
** written permission and the payment of a small fee. **
** **
**---------------------------------------------------------------------**
** Definition of the library, and structures **
** **
** $VER: 40.1 (23.05.2001) © THOR **
*************************************************************************/
#ifndef LIBRARIES_68060_H
#define LIBRARIES_68060_H
/* There's really nothing in this library base you need to care about */
struct MC68060Base {
struct Library dllib_Library;
/* more below this point */
};
#define MC68060_NAME "68060.library"
/* Bit definitions for the FPUControl call, exception disable */
#define FPUCtrlB_BSUN 0L /* disable branch or set on unordered */
#define FPUCtrlB_INEX 1L /* disable inexact result exception */
#define FPUCtrlB_DIVZ 2L /* disable divide by zero exception */
#define FPUCtrlB_UNFL 3L /* disable underflow exception */
#define FPUCtrlB_OVFL 4L /* disable overflow exception */
#define FPUCtrlB_SNAN 5L /* disable signalling NAN exception */
#define FPUCtrlB_OPERR 6L /* disable operand error exception */
#define FPUCtrlF_BSUN (1L<<0L)
#define FPUCtrlF_INEX (1L<<1L)
#define FPUCtrlF_DIVZ (1L<<2L)
#define FPUCtrlF_UNFL (1L<<3L)
#define FPUCtrlF_OVFL (1L<<4L)
#define FPUCtrlF_SNAN (1L<<5L)
#define FPUCtrlF_OPERR (1L<<6L)
#endif